package com.yongan.purchase.entity;

import java.util.Date;
import java.util.List;

/**
 * @author Sunqing
 * 采购入库单
 *
 */
public class PurchaseIn {
	private String  purchaseId;//ID
	private String  purchaseRkdh;//入库单号
	private Date  purchaseRkrq;//入库日期
	private String  purchaseRklx;//入库类型
	private String  purchaseRkje;//入库金额
	private Date createTime;//创建时间	
	private Date updateTime;//更新时间
	private String purchasedId;//采购订单对象ID
	private Purchase procurement;//采购订单对象
	private List<PurchaseGoodsDetails> details;//引用入库商品明细表
	public String getPurchaseId() {
		return purchaseId;
	}
	public void setPurchaseId(String purchaseId) {
		this.purchaseId = purchaseId;
	}
	public String getPurchaseRkdh() {
		return purchaseRkdh;
	}
	public void setPurchaseRkdh(String purchaseRkdh) {
		this.purchaseRkdh = purchaseRkdh;
	}
	public Date getPurchaseRkrq() {
		return purchaseRkrq;
	}
	public void setPurchaseRkrq(Date purchaseRkrq) {
		this.purchaseRkrq = purchaseRkrq;
	}
	public String getPurchaseRklx() {
		return purchaseRklx;
	}
	public void setPurchaseRklx(String purchaseRklx) {
		this.purchaseRklx = purchaseRklx;
	}
	public String getPurchaseRkje() {
		return purchaseRkje;
	}
	public void setPurchaseRkje(String purchaseRkje) {
		this.purchaseRkje = purchaseRkje;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Purchase getProcurement() {
		return procurement;
	}
	public void setProcurement(Purchase procurement) {
		this.procurement = procurement;
	}
	
	@Override
	public String toString() {
		return "PurchaseIn [purchaseId=" + purchaseId + ", purchaseRkdh="
				+ purchaseRkdh + ", purchaseRkrq=" + purchaseRkrq
				+ ", purchaseRklx=" + purchaseRklx + ", purchaseRkje="
				+ purchaseRkje + ", createTime=" + createTime + ", updateTime="
				+ updateTime + ", purchasedId=" + purchasedId
				+ ", procurement=" + procurement + ", details=" + details + "]";
	}
	public String getPurchasedId() {
		return purchasedId;
	}
	public void setPurchasedId(String purchasedId) {
		this.purchasedId = purchasedId;
	}
	public List<PurchaseGoodsDetails> getDetails() {
		return details;
	}
	public void setDetails(List<PurchaseGoodsDetails> details) {
		this.details = details;
	}
	
}
